load Ad
Loads instream ad object.
Parameters
configuration
Request configuration
listener
InstreamAdLoadListener to be invoked when the ad is loaded or loading fails.
suspend fun loadAd(configuration: InstreamAdRequest): ERROR CLASS: Symbol not found for InstreamAdLoadResult
Loads instream ad object. Suspends until the result is available.
Return
InstreamAdLoadResult.Success with InstreamAd or InstreamAdLoadResult.Failure with InstreamAdRequestError.
Parameters
configuration
Request configuration